package com.meteor.service;

import com.meteor.entity.Complaint;
import com.meteor.entity.Publicity;
import com.meteor.framework.common.utils.PageResult;
import com.meteor.framework.mybatis.service.BaseService;
import com.meteor.query.ComplaintQuery;
import com.meteor.query.PublicityQuery;
import com.meteor.vo.ComplaintVO;
import com.meteor.vo.PublicityVO;

import java.util.List;

/**
 * @author lynn
 * @date 2024/1/22
 */
public interface ComplaintService extends BaseService<Complaint> {


    void save(ComplaintVO complaintVO);

    void update(ComplaintVO complaintVO);

    ComplaintVO getComplaint(String id);

    List<ComplaintVO> getComplaintVOList(ComplaintQuery complaintQuery);

    PageResult<ComplaintVO> pageComplaintVO(ComplaintQuery complaintQuery);

    void delete(String id);
}
